
// 实例化vue对象
var vue = new Vue({
    el: "#vue-app",
    data:{
      

    },
    methods:{
        logName:function () {
            console.log("你正在输入名字");
        },
        altEnter:function(){
          console.log("name: alt + Enter 事件")
        },


        logAge:function () {
            console.log("你正在输入年龄");
        },
        ageKeyDown:function () {
            console.log("ageKeyDown")
        },
        login:function () {
            console.log("检测到了回车键")
        }
    }
});